import service from "@/util/service.js"

export function postlink(url,data){
    return new Promise((resolve,reject)=>{
        service.request({
            url,
            method:"POST",
           data
        }).then((ok)=>{
            console.log("请求到了")
            resolve(ok)
        }).catch((err)=>{
            console.log("未请求到")
            reject(err)
        })
    })
}
